#include <iostream>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
using namespace std;
char *hello (char name[10]) {
return strcat("Hello, ", name);
}

int main()
{
   char *str= new char[10];
    cout<<"Input name:\n";
    gets(str);
    cout<<hello(str)<<"\n";
    system("PAUSE");
    return 0;
}
